package com.atguigu.service;

import com.atguigu.base.BaseService;
import com.atguigu.entity.UserFollow;
import com.atguigu.vo.UserFollowVo;
import com.github.pagehelper.PageInfo;

/**
 * @author:ahang
 * @create:2022-07-28 15:26
 * @Description:
 */
public interface UserFollowService extends BaseService<UserFollow> {
    void follow(Long userId, Long houseId);

    int isFollowed(Long userId, Long houseId);

    PageInfo<UserFollowVo> findListPage(Integer pageNum, Integer pageSize, Long userId);
}
